// import type { UserInfo } from '@vben/types';
interface UserInfo{}
import { requestClient } from '#/api/request';

/**
 * 获取用户信息
 */
export async function getUserInfoApi() {
  return requestClient.get<UserInfo>('/getInfo');
}

interface UserRoutes{}
/**
 * 获取路由信息
 */
export async function getUserRoutesApi() {
  return requestClient.get<UserRoutes>('/getRouters');
}
